home *** CD-ROM | disk | FTP | other *** search
- New commands (related to version 2.10), as per November 1993:
-
- ******** version 2.20
-
- In version 2.20 of AIM/2 a command 'affine' is added.
-
- This command can be applied to 'map' an image such as a satellite picture
- to a cartographic map of the same area. Identical points are indicated
- by the mouse. Although three pair of points are sufficient to define the
- mapping, four pair of points are required as a minimum input.
- In a less serious application, affine can be used to transform or distort
- an image (e.g. changing TRUI's face).
-
- Add this text to the Reference Manual, Chapter 5, Additional Operations:
-
- 5.1 Specials
-
- affine (*) : maps an input image to an output image
-
- Affine asks for a number of pairs of points to be indicated with the mouse.
- Each pair consists of a point in the 'input' image and a point in the
- 'reference' image. The 'output' image is the resulting image.
- After at least four pairs have been indicated, <RETURN> stops asking for
- more inputs (mouse-clicks) and causes that the best transform which maps
- the input points onto the reference points is calculated. Then, the input
- image is transformed to the output image using this transform.
- Remarks:
- - <ESC> cancels points.
- - the output image must not be the input image.
-
- command : affine in_image, out_image, ref_image
- default : affine A , B , D
- range : <A-D> , <A-D> , <A-D>
-
- ********* version 3.00
-
- In AIM/3, version 3.00, the use of the Select-button in the affine command
- is in conflict with the Image Editing functions as described below.
- Hence, in 3.00 you have to use the Menu-button for clicking the points.
- As a side-effect you get the AIM-menu popped-up every time you press the
- Menu-button. Just ignore this.
- When using image A as the input and D as the reference image (default),
- be sure you have the display-windows of A and D alongside each other and
- with some distance in between. So the 'side-effect' pop-up menu will not
- mask the second window.
-
- ***
-
- Add this text to the Reference Manual, section 5, Additional Operations:
-
- 5.2 Image Editing
-
- making a selection, the selectmenu
-
- A (rectangular) portion of a displayed image can be selected by clicking
- the Select-button while the mouse-pointer is at the top-left position of
- that portion and by 'dragging' the mouse-pointer to the bottom-right
- position. A 'rubberbox' is shown.
- At the release of the Select button, a information-box pops-up, allowing
- the modification of the top-left and bottom-right positions by typing the
- co-ordinates. When using the mouse, the smallest rectangle is 48x48 pixels,
- by typing the co-ordinates ('up to and including'), a smaller size may be
- achieved. The information-box disappears by clicking the OK button.
- The displaywindow with the red rectangle is now in - what might be called -
- a 'state of selection': clicking 'Menu' is not showing the usual AIM menu,
- but pops-up a special selectmenu with the entries <clear>, <select>,
- <copy> and <save>.
-
- selectmenu: clear, select
-
- Clicking at the entry 'clear' is finishing the 'state of selection'.
- Clicking at 'select' pops-up the information-box.
-
- selectmenu: copy, save
-
- The selection can be copied to an open AIM display-window, resulting in a
- new image in memory. This (smaller in size) image may be processed as usual.
- Alternatively, the selection can be saved to a filer-window or directly
- copied into an open application, e.g. as a GreySprite into the application
- !Sprite.
-
- Note:
- The sizes of the selected portion are truncated to modulo-4 measures.
-
- Related operations as 'pasting' and 'merging' may be expected in future
- releases.
-
- ***
-
- In AIM/3 the TCL-Image datafile is accepted.
- Add to the Reference Manual, section 6 Appendices:
-
- 6.1.2 TCL header
-
- The first 512 bytes of the TCL datafile form the 'header'.
- The first 32 (16 bit) words of it, contain information about the data in
- the file, the next 224 words contain user data (numerical) and descriptive
- text (ASCII).
-
- 16b word # Contents
-
- 1 0 if the file contains 16b pixels, 'unpacked'.
- 1 if the file contains 8b pixels, 'packed' in pairs into 16b words.
- 2 The number of elements in a line of the image.
- 3 The number of lines in the image.
- 4 The file-sequence number on the tape, starting with 1.
- On disk files this entry is 0.
- 5 The number of bits per pixel:
- 5 : 5 bits greyvalue + 3 bits overlay colours
- 8 : 8 bits greyvalue
- 16: 16 bits greyvalue
- 6-32 Reserved for future use.
-
- 33-128 User numerical data
- 129-204 User text
- 205-219 Creation date of the file
- 220-256 Description text
-
- ********** The modified Users Manual (revision 1) is available *********
- ********** for a complete information 'update' and contains the *********
- ********** modified pages of the Reference Manual as well. *********
-